package com.com.util;

public class GameManager {
	
	private static Game game;
	
	public static void startNewGame() {
		game = new Game();
	}
	
	public static ShootResult shoot(int x, int y) {
		return game.shoot(x, y);
	}
	
	public static void setShips(boolean[][] ships, int playerNumber) {
		game.setShips(ships, playerNumber);
	}
	
	public int getCurrentPlayer() {
		return game.getCurrentPlayer();
	}
	
	public boolean hasShips(int player) {
		return game.hasShips(player);
	}
	
	public void saveGame(String gameName) {
		// not implemented yet
	}

}
